package com.xli.dto.params;

import com.xli.dto.validation.group.IGroup;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.List;

@Data
public class IdsDTO {

    @Size(min = 1, message = "id集合至少包含一个id", groups = IGroup.delete.class)
    private List<@NotBlank(message = "id不能为空", groups = IGroup.delete.class) String> ids;
}
